package com.core.travelAgent.dao;

import java.util.List;

import com.common.web.SelectJson;
import com.core.travelAgent.dto.TravelAgentSearchCondition;

public interface TravelAgentDao {
	
		void add (TravelAgentSearchCondition sc);
	
		void update(TravelAgentSearchCondition sc);
	
		void del(String id);
		//其他页面应用的搜索
		List<SelectJson> searchDtoList(TravelAgentSearchCondition sc);
		//获取展示页的数据
		List<TravelAgentSearchCondition> getAgentSearchConditions(TravelAgentSearchCondition sc);
		//获取所有记录
		Integer getAllRecodeCnt(TravelAgentSearchCondition sc);
		
		TravelAgentSearchCondition getById(Long id);

		TravelAgentSearchCondition getNameById(Long id);
}
